﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace SosaAnalysisModule.Data
{
    /// <summary>
    /// Essential the same as SAM.Data.Group except that the Color attribute uses different libraries for compatability with WPF Xtoolkit and there is no SOSA data list
    /// </summary>
    class RowItem
    {
        public string Name { get; set; }
        public string Id { get; set; }
        public Color color { get; set; }

        public RowItem(string _Name, string _Id)
        {
            Name = _Name;
            Id = _Id;
            Random rand = new Random();
            byte r = (byte)rand.Next(255);
            byte g = (byte)rand.Next(255);
            byte b = (byte)rand.Next(255);
            color = Color.FromRgb(r,g,b);
        }
    }
}
